package com.xuecheng.order.service;

import com.xuecheng.framework.domain.task.XcTask;

import java.util.Date;
import java.util.List;

/**
 * @author Kidy
 * @date 2020/7/17 22:41
 */
public interface TaskService {

    public List<XcTask> findXcTaskList(Date updateTime, int size);

    public void publish(XcTask xcTask, String ex, String routingKey);

    public int getTask(String id, int version);

    public void finishTask (String taskId);
}
